import request from '@/utils/request.js'


export function getCountList(data){
	return request({
		url:'/record/count/list',
		method:'get',
		data:data
	})
}

export function getCountListToday(data){
	return request({
		url:'/record/count/list/today',
		method:'get',
		data:data
	})
}

export function addCount(data){
	return request({
		url:'/record/count',
		method:'post',
		data:data
	})
}

export function deleteCount(data){
	return request({
		url:'/record/count/'+data,
		method:'delete'
	})
}

export function getCount(data){
	return request({
		url:'/record/count/'+data,
		method:'get'
	})
}
